﻿using UnityEngine;
using System.Collections;

public class ExitLevel : MonoBehaviour, IInteractiveAction {

	public string NextScene;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public string GetActionName()
	{
		return "Exit";
	}

	public void Execute()
	{
		Application.LoadLevel("LevelEndedScene");
		//GameObject levelManager = GameObject.Find ("LevelManager");
		//Level theLevel = (Level)levelManager.GetComponent(typeof(Level));

	}

	public void Stop(){}
}
